package com.excellence.service;

import com.excellence.pojo.Operation;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author 沈秉璋
 * @ClassName OperationService
 * @Description TODO
 * @date 2024/4/8 10:42
 * @Version 1.0
 */

public interface OperationService {
    int deleteByPrimaryKey(Long id);

    int insert(Operation record);

    int insertSelective(Operation record,  List<MultipartFile> files);

    List<Operation> selectByUserId(Long id);

    List<Operation> selectAll();

    int updateByPrimaryKeySelective(Operation record,  List<MultipartFile> files);

    int updateByPrimaryKey(Operation record,  List<MultipartFile> files);

    int count(Integer massifId);
}
